package kr.hkit.powerjava.chther06;

import java.util.Scanner;

public class asd {
	public static void main(String[] args) {
		int income;
		int tax;
		
		System.out.print("과세금액");
		Scanner input = new Scanner(System.in);
		income = input.nextInt();
		if(income <=1000)
			tax = (int)(0.09*income);
		else if (income <= 4000)
			tax = (int)(1000*0.9+0.18*(income-1000));
		else
			tax = (int)(1000*0.9+3000*0.18+4000*0.27+0.36);
	}
}
